﻿@model Arch.Samples.Model.Todo

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Todo</legend>

    <div class="display-label">Title</div>
    <div class="display-field">@Model.Title</div>

    <div class="display-label">Description</div>
    <div class="display-field">@Model.Description</div>

    <div class="display-label">Version</div>
    <div class="display-field">@Model.Version</div>

    <div class="display-label">CreationDate</div>
    <div class="display-field">@String.Format("{0:g}", Model.CreationDate)</div>

    <div class="display-label">UpdateDate</div>
    <div class="display-field">@String.Format("{0:g}", Model.UpdateDate)</div>

    <div class="display-label">CreationUser</div>
    <div class="display-field">@Model.CreationUser</div>

    <div class="display-label">GlobalCategory</div>
    <div class="display-field">@Model.GlobalCategory</div>

    <div class="display-label">SubCategory</div>
    <div class="display-field">@Model.SubCategory</div>

</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}


